import { useState } from "react";

function Flist() {
    let [ list ] = useState([
            {id: 1,name: 'luser',},
            {id: 2,name: 'play'},
            {id: 3,name: 'game'}
    ])
    return (
        <div>
            <ul>
                {list.map(item => <li key={item.id}>{item.name}</li>)}
            </ul>
        </div>
    );
}

export default Flist;